package com.lawyer.config;

import io.swagger.annotations.ApiModelProperty;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "weipaybean")
public class WeiPayBean {

	@ApiModelProperty(name = "微信小程序appid")
	private String appId;

	@ApiModelProperty(name = "商户号")
	private String mchid;

	@ApiModelProperty(name = "商户证书序列号")
	private String mchSerialNo;

	@ApiModelProperty(name = "API V3密钥")
	private String apiV3Key;

	@ApiModelProperty(name = "jsapi创建订单URL")
	private String jsapiUrl;

	@ApiModelProperty(name = "native创建订单URL")
	private String nativeUrl;

	@ApiModelProperty(name = "支付成功后回调的url")
	private String notifyUrl;

	@ApiModelProperty(name = "生成签名url")
	private String certificatesUrl;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getMchid() {
		return mchid;
	}

	public void setMchid(String mchid) {
		this.mchid = mchid;
	}

	public String getMchSerialNo() {
		return mchSerialNo;
	}

	public void setMchSerialNo(String mchSerialNo) {
		this.mchSerialNo = mchSerialNo;
	}

	public String getApiV3Key() {
		return apiV3Key;
	}

	public void setApiV3Key(String apiV3Key) {
		this.apiV3Key = apiV3Key;
	}

	public String getCertificatesUrl() {
		return certificatesUrl;
	}

	public void setCertificatesUrl(String certificatesUrl) {
		this.certificatesUrl = certificatesUrl;
	}

	public String getJsapiUrl() {
		return jsapiUrl;
	}

	public void setJsapiUrl(String jsapiUrl) {
		this.jsapiUrl = jsapiUrl;
	}

	public String getNativeUrl() {
		return nativeUrl;
	}

	public void setNativeUrl(String nativeUrl) {
		this.nativeUrl = nativeUrl;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

}
